package jmu.cze.mapper;

import jmu.cze.pojo.OnFlight;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OnFlightMapper {
    int deleteByID(int onFlightID);

    int insert(OnFlight onFlight);

    OnFlight selectByID(int onFlightID);

    List<OnFlight> selectAllOnFlights();

    List<OnFlight> selectByFlightID(int flightID);

    int update(OnFlight onFlight);
}